*** Settings ***
Documentation       通过ipmi接口重新产生GUID号
Resource            ../../test_function/ipmi/ipmi.robot
Library             OperatingSystem
Library             BuiltIn

Test Tags           Ipmi_Device_Guid

*** Variables ***
${input}                    raw 0x30 0x90 0x27 0x00 0x47 0x55 0x49 0x44 0x00
${expected_rc}              ${0}
${expected_output}          00


*** Test Cases ***
Set IPMI Device Guid
    [Documentation]    带认证的IPMI的重新产生GUID号
    [Tags]  Set_Device_Guid_IPMI
    ${rc}    ${output}=  Run External Ipmi Command    ${input}
    Log    Command Output: ${output}
    Should Be Equal    ${rc}    ${expected_rc}    msg=${output}
    Should Contain    ${output}    ${expected_output}


